import request from "@/utils/request.js";
class Online {
  static async bindStatus(data) {
    return await request({
      url: `app-author/bind_status`,
      method: "post",
      data
    });
  }
  static async bind(data) {
    return await request({
      url: `app-author/bind`,
      method: "post",
      data
    });
  }

  static async clearPlayList(apiKey, mDeviceId) {
    return await request({
      url: `public/audio/clearPlayList?apiKey=${apiKey}&deviceId=${mDeviceId}`,
      method: "get"
    });
  }
}
export { Online };
